<template>
	<view class="mine-messasge">
		<view class="lists">
			<view class="list" v-for="i in 14">
				<image src='https://cdn.uviewui.com/uview/album/1.jpg'></image>

				<view class="m">
					<view class="title">消息名称</view>
					<view class="desc">消息内容消息内容消息内容消息内容</view>
				</view>
				<view class="r">
					2024-08-08
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		}
	}
</script>

<style lang="scss">
	.lists {
		.list {
			display: flex;
			align-items: center;
			// border-bottom: 1upx solid $uni-border-color;
			padding: 22upx 30upx;
			box-sizing: border-box;

			image {
				width: 80upx;
				height: 80upx;
				border-radius: 50%;
				margin-right: 16upx;
			}

			.m {
				display: flex;
				flex-direction: column;
				width: 60%;

				.title {
					color: #333;
					font-size: 32upx;
				}

				.desc {
					color: #999;
					font-size: 28upx;
					width: 100%;
					overflow: hidden;
					white-space: nowrap;
					margin-top: 6upx;
					text-overflow: ellipsis;
				}
			}

			.r {
				margin-left: auto;
				font-size: 26upx;
				color: #999;
			}
		}
	}
</style>
